﻿using GalaSoft.MvvmLight;
using MapInfo.Toolbox.Core;

namespace MapInfo.Toolbox.UI.ViewModels
{
    public class ToolboxItemViewModel : ViewModelBase
    {
        private readonly IToolboxModule _module;

        public ToolboxItemViewModel(IToolboxModule module)
        {
            _module = module;
        }

        public string Name
        {
            get { return this._module.Name; }
        }
        
        public string Description
        {
            get { return this._module.Description; }
        }
    }
}